
/**
 * Created by Administrator on 2017-03-09.
 */

package com.lxz.datasource.common;

public enum ResultStatus {
    RESULT_STATUS_FAILURE(1),//失败
    RESULT_STATUS_SUCCESS(0),//成功
    RESULT_STATUS_NO_LOGIN(98),//系统异常
    RESULT_STATUS_EXCEPTION(99),//系统异常
    RESULT_STATUS_INVALID_PARAM(9);//参数无效

    private int value;

    private ResultStatus(int value) {
        this.value = value;
    }

    public int getValue() {
        return this.value;
    }

    public String toString() {
        return String.valueOf(this.value);
    }
}